package com.java2207.group1.service;

import com.java2207.group1.bo.CasesBo;
import com.java2207.group1.common.LayuiPageVo;
import com.java2207.group1.pojo.Cases;
import com.java2207.group1.vo.casesult.CasesBarVo;
import com.java2207.group1.vo.casesult.CasesPieVo;

import java.util.List;
import java.util.Map;

/**
 * Lenovo 2022/7/26 12:03
 */
public interface CasesService {

    LayuiPageVo<Cases> caseLayuiPageData(Map<String, Object> params);

    int addCase(Cases cas);

    int deleteCase(Integer id);

    int updateCase(Cases cas);

    int deleteCaseByIds(String ids);

    List<CasesBarVo> caseBarData();

    List<CasesPieVo> casePieData();

    List<CasesBo> casExcelData(Map<String, Object> params);
}
